package com.cy.model;

import com.cy.BasicModel;
import com.cy.ext.plugin.tablebind.TableBind;

@TableBind(tableName="company_category",pkName = "id")
public class CompanyCategory extends BasicModel<CompanyCategory> {
    public static final CompanyCategory dao = new CompanyCategory();
    public static final String SELECT_ALL = "`id`,`name`,`remark`";
            
    public CompanyCategory setId(Long id){
        return this.set("id",id);
    }

    public Long getId(){
        return this.get("id");
    }
        
    public CompanyCategory setName(String name){
        return this.set("name",name);
    }

    public String getName(){
        return this.getStr("name");
    }
        
    public CompanyCategory setRemark(String remark){
        return this.set("remark",remark);
    }

    public String getRemark(){
        return this.getStr("remark");
    }
}